<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/9/2
 * Time: 14:34
 */

namespace addons\TfFutures\common\models;
use yii\db\ActiveRecord;


class LossSet extends ActiveRecord
{
    public static function tableName()
    {
        return '{{%addon_tf_futures_loss_set}}';
    }
    public function rules()
    {
        return [
            [['member_id'], 'required'],
        ];
    }
    /**
     * {@inheritdoc}
     */
    public function attributeLabels()
    {
        return [
            'id'                => 'ID',
            'member_id'         => '用户id',
            'symbol'            => '产品代码',
            'stop_profit_point' => '止盈点数',
            'stop_loss_point'   => '止损点数',
            'create_at'         => '创建时间',
        ];
    }
}